const BlockChainData = [
  {
    id: 1,
    height: 5,
    BlockHash: 'aB3x9KpLmNqR2sT8uVwXyZ4',
    DataHash: 'pQr5sT8uVwXyZ4aB3x9KpLmNqR2',
    UpperchainTime: '2024-10-03T09:15:22.123+00:00',
    UpperchainBatch: 'nxtrace202410030915221234',
  },
  {
    id: 2,
    height: 12,
    BlockHash: 'cD4v6FgHjK1mO3pQ7sU9wY2z',
    DataHash: 'xYz1aB3cD4v6FgHjK1mO3pQ7sU9',
    UpperchainTime: '2024-10-03T09:15:22.456+00:00',
    UpperchainBatch: 'nxtrace202410030915224567',
  },
  {
    id: 3,
    height: 19,
    BlockHash: 'eF5h8JiLkO2nP4rS6tU0vW1y',
    DataHash: 'bCd3eF5h8JiLkO2nP4rS6tU0vW1',
    UpperchainTime: '2024-10-03T09:15:22.789+00:00',
    UpperchainBatch: 'nxtrace202410030915227890',
  },
  {
    id: 4,
    height: 6,
    BlockHash: 'gH7j9KlMqO3pR5sT8uV0wX2',
    DataHash: 'yZa1bC3dE5fG7hI9jK1lM3nO5',
    UpperchainTime: '2024-10-03T09:15:23.012+00:00',
    UpperchainBatch: 'nxtrace202410030915230123',
  },
  {
    id: 5,
    height: 21,
    BlockHash: 'iJ9k1LmNqO4rS6tU8vW0xY2',
    DataHash: 'zAb2cD4eF6gH8iJ0kL2mN4pQ6',
    UpperchainTime: '2024-10-03T09:15:23.345+00:00',
    UpperchainBatch: 'nxtrace202410030915233456',
  },
];

export default {
  'GET /api/blockchain': (req: any, res: any) => {
    res.json({
      success: true,
      data: BlockChainData,
      errorCode: 0,
    });
  },
};
